Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an implementation of BLOCK-MINRES #884

Merged
merged 4 commits into from
Jan 5, 2025

Conversation

amontoison
Copy link
Member

💪

Copy link
Contributor

github-actions bot commented Oct 12, 2024

Package name latest stable
CaNNOLeS.jl
DCISolver.jl
FletcherPenaltySolver.jl
JSOSolvers.jl
LLSModels.jl
LinearSolve.jl
Percival.jl
RipQP.jl

@amontoison amontoison force-pushed the block_minres branch 3 times, most recently from 2b56bdc to d6e45de Compare October 31, 2024 06:42
@amontoison
Copy link
Member Author

@dpo
If you need to test a few things with the block methods, block_minres is now fully working.

T = Float64
A = rand(T, 25, 25)
A = A  + A'
B = rand(T, 25, 5)
X, stats = block_minres(A, B, verbose=1)
norm(B - A * X)
julia> X, stats = block_minres(A, B, verbose=1)
BLOCK-MINRES: system of size 25 with 5 right-hand sides
    k     ‖Rₖ‖  timer
    0  6.9e+00  0.00s
    1  2.8e+00  0.00s
    2  2.1e+00  0.00s
    3  1.6e+00  0.00s
    4  1.1e+00  0.00s
    5  1.9e-09  0.00s

julia> norm(B - A * X)
1.858704723858523e-9

@amontoison amontoison marked this pull request as ready for review November 4, 2024 08:26
@amontoison amontoison merged commit bcc7be2 into JuliaSmoothOptimizers:main Jan 5, 2025
31 checks passed
@amontoison amontoison deleted the block_minres branch January 5, 2025 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant